package moxl.xpath.axes;

import java.util.Iterator;

import moxl.dom.MoxlNode;

public class SingleXmlNodeIterable implements Iterable<MoxlNode>
{
	private final MoxlNode attribute;
	
	public SingleXmlNodeIterable(MoxlNode attribute)
    {
	    this.attribute = attribute;
    }

	public Iterator<MoxlNode> iterator()
	{
		return new SingleXmlNodeIterator(attribute);
	}
}
